package cn.jingyuan.fox.user.dao.impl;

import cn.jingyuan.fox.user.dao.UserDao;
import cn.jingyuan.fox.user.dao.mapper.UserMapper;
import cn.jingyuan.fox.user.model.entity.UserEntity;
import cn.jingyuan.owl.dao.mybatisplus.AbstractMyBatisPlusCrudDao;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.springframework.stereotype.Repository;

import javax.annotation.Resource;

@Repository
public class UserDaoImpl extends AbstractMyBatisPlusCrudDao<UserEntity, Long> implements UserDao<UserEntity, Long> {

    @Resource
    private UserMapper userMapper;

    @Override
    public BaseMapper<UserEntity> getMapper() {
        return userMapper;
    }

}
